﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="GoalManagement_ChangeSprint.aspx.cs" Inherits="PMP.Goals.GoalManagement_ChangeSprint" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
        Sprint:
        <asp:DropDownList ID="ddlSprints" runat="server" 
            DataSourceID="SqlDataSourceSprints" DataTextField="sprint" DataValueField="id" 
            Height="25px" Width="200px">
        </asp:DropDownList>
        <asp:SqlDataSource ID="SqlDataSourceSprints" runat="server" 
            ConnectionString="<%$ ConnectionStrings:LocalConnectionString %>" 
            ProviderName="<%$ ConnectionStrings:LocalConnectionString.ProviderName %>" 
            
            SelectCommand="SELECT [sprint], [id] FROM [sprint] WHERE ([iscompleted] = ?) ORDER BY [iscompleted], [sprint]">
            <SelectParameters>
                <asp:Parameter DefaultValue="0" Name="iscompleted" Type="Int32" />
            </SelectParameters>
        </asp:SqlDataSource>
        <br />
        <asp:Button ID="btnUpdate" runat="server" onclick="btnUpdate_Click" 
            Text="Update" />
        <asp:Button ID="btnCancel" runat="server" onclick="btnCancel_Click" 
            Text="Cancel" />
        <asp:TextBox ID="txtGoal" runat="server" Visible="False"></asp:TextBox>
    
    </div>
    </form>
</body>
</html>
